/**
 * Maximum.java
 * ************************** 
 * @date Apr 2, 2011
 * @author Michele Tamburini
 * 
 * **************************
 */
package gossipServices.aggregation.functions;


/**
 * Description: 
 *
 */
public class MaximumAggFunction implements AggregationUpdateFunction {

	@Override
	public double update(double sp, double sq) {
		return sp > sq ? sp : sq;
	}

}
